module.exports = {
	devServer: {
		before(app, server) {
			// 接口
			app.get('/api/list', (req, res) => {
				res.json({
					result: [{
						id: 0,
						title: '存了内了该京装年口还变，律子事采克丽族态束。',
						done: 0,
						collection: 0,
						type: 0
					},
					{
						id: 1,
						title: '这传过广龙得等题与要对，走大则开品杏解杜论。',
						done: 1,
						collection: 0,
						type: 1
					},
					{
						id: 2,
						title: '好南和东参究金内，许两打上此劳，低期求杏转相。',
						done: 0,
						collection: 1,
						type: 2
					},
					{
						id: 3,
						title: '八合增严大常需约使层型，方么来必往Z九回帐。',
						done: 1,
						collection: 1,
						type: 2
					},
					{
						id: 4,
						title: '都先除按步运已，法角容信斯还，快要详何便屈。',
						done: 0,
						collection: 0,
						type: 1
					},
					{
						id: 5,
						title: '气价很形见感复验，圆江安色器转，或加1那海通。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 6,
						title: '大土交保县些主步，体反明数年中，青却杏物经美。',
						done: 1,
						collection: 0,
						type: 0
					},
					{
						id: 7,
						title: '记确克北车复群江完之转，办技证查A传8。',
						done: 0,
						collection: 1,
						type: 1
					},
					{
						id: 8,
						title: '验价号度斗门总矿，界知史开方商，接今露详都南。',
						done: 1,
						collection: 1,
						type: 2
					},
					{
						id: 9,
						title: '京专九历学据心照，对但其别消更，合引4着V该。',
						done: 0,
						collection: 0,
						type: 2
					},
					{
						id: 10,
						title: '海二置部开头部区，前到类气子响，已确G值速周。',
						done: 1,
						collection: 1,
						type: 1
					},
					{
						id: 11,
						title: '下传全广下节斗点，织公包因王计，府W务址验。',
						done: 0,
						collection: 1,
						type: 0
					},
					{
						id: 12,
						title: '对照置化反时流，时关果大存，大时居他材详。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 13,
						title: '由十华南情合叫入，些两计结委太，种除录积却被。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 14,
						title: '位示义使手路共研消际体，易越选飞直医需却器。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 15,
						title: '保响进交结的状，天打杨杏。酸统看花取，区况届。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 16,
						title: '也石次离权细了该声转圆，利保直龙应I岗快。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 17,
						title: '色极片院成外土水，红热便几各合，候较L得存得。',
						done: 1,
						collection: 1,
						type: 0
					},
					{
						id: 18,
						title: '其明更物置此说题，特达问线细行，线因3坝护格。',
						done: 0,
						collection: 1,
						type: 0
					},
					{
						id: 19,
						title: '程法划员命立拉，八切争身布严，被持蠢术次分。',
						done: 0,
						collection: 1,
						type: 0
					},
					{
						id: 20,
						title: '劳料斯将间县对始，候带动知反流，济教S任毛习。',
						done: 0,
						collection: 1,
						type: 0
					},
					{
						id: 21,
						title: '选值建记往族人这，农包而规山什，支心村信起。',
						done: 0,
						collection: 1,
						type: 0
					}]
				})
			})
		}
	}
}
